﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleDbBrowser.ViewModel
{
    public class BrowserFactory
    {
        public IDialogPresenter DialogPresenter { get; set; }

        public MainViewModel BuildBrowserViewModels()
        {
            var main = new MainViewModel();
            if (DialogPresenter != null)
                main.OptionsDialogPresenter = DialogPresenter;

            return main;
        }
    }
}
